﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace CienciaYDeporte.Administracion
{
    public partial class Default : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void btnAceptar_Click(object sender, EventArgs e)
        {

            if (txtusuario.Text == "admin" && txtpassword.Text == "rosfin2011" || 
                txtusuario.Text == "user" && txtpassword.Text == "Cotizacion")
            {
                this.Session.Add("user", txtusuario.Text);
                Response.Redirect("~\\Administracion\\Principal.aspx");
            }
        }
    }
}
